import React, { Component } from "react";
import Icon from '@ant-design/icons';
import type { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

//测量圆图标
export const MeasureCircle = (props: any) => {
    const MeasureCircleSvg = () => {

        return <>
            {props.delete ?
                <svg viewBox="0 0 1094 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23438" width="21" height="19">
                    <path d="M1074.3232 885.803043A1226.58948 1226.58948 0 0 1 1007.052118 711.381616a502.720418 502.720418 0 0 0 40.282085-199.396319A511.985297 511.985297 0 0 0 37.86516 393.958789a31.822847 31.822847 0 0 0 62.03441 14.50155 447.936782 447.936782 0 1 1 845.92378 281.974593c-4.83385 11.278984-12.890267 29.808743 49.546964 174.824248-183.283486 0-194.562469 6.847954-201.410424 12.890267a448.339603 448.339603 0 0 1-694.06032-263.042013 32.225668 32.225668 0 1 0-62.437231 14.904371 511.985297 511.985297 0 0 0 787.917577 304.12974c24.572072-3.625388 128.097029-4.431029 219.537362-3.222567h49.949785z" p-id="23439" fill="#d81e06"></path><path d="M786.709115 511.985297a250.957388 250.957388 0 1 0-250.957388 250.957388 250.957388 250.957388 0 0 0 250.957388-250.957388z m-437.46344 0a186.908873 186.908873 0 1 1 186.506052 188.520157 186.908873 186.908873 0 0 1-186.506052-188.520157z" p-id="23440" fill="#d81e06"></path><path d="M53.172352 514.402222m-53.172352 0a53.172352 53.172352 0 1 0 106.344704 0 53.172352 53.172352 0 1 0-106.344704 0Z" p-id="23441" fill="#d81e06"></path>
                </svg>
                :
                <svg viewBox="0 0 1094 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23209" width="24" height="24">
                    <path d="M1074.3232 885.803043A1226.58948 1226.58948 0 0 1 1007.052118 711.381616a502.720418 502.720418 0 0 0 40.282085-199.396319A511.985297 511.985297 0 0 0 37.86516 393.958789a31.822847 31.822847 0 0 0 62.03441 14.50155 447.936782 447.936782 0 1 1 845.92378 281.974593c-4.83385 11.278984-12.890267 29.808743 49.546964 174.824248-183.283486 0-194.562469 6.847954-201.410424 12.890267a448.339603 448.339603 0 0 1-694.06032-263.042013 32.225668 32.225668 0 1 0-62.437231 14.904371 511.985297 511.985297 0 0 0 787.917577 304.12974c24.572072-3.625388 128.097029-4.431029 219.537362-3.222567h49.949785z" p-id="23210"></path><path d="M786.709115 511.985297a250.957388 250.957388 0 1 0-250.957388 250.957388 250.957388 250.957388 0 0 0 250.957388-250.957388z m-437.46344 0a186.908873 186.908873 0 1 1 186.506052 188.520157 186.908873 186.908873 0 0 1-186.506052-188.520157z" p-id="23211"></path><path d="M53.172352 514.402222m-53.172352 0a53.172352 53.172352 0 1 0 106.344704 0 53.172352 53.172352 0 1 0-106.344704 0Z" p-id="23212"></path>
                </svg>
            }
        </>
    }

    return (
        <Icon component={MeasureCircleSvg} {...props} />
    )
}
